package site.suimu.mapper;

import org.apache.ibatis.annotations.Param;
import site.suimu.pojo.Tnew;

import java.util.List;

public interface TnewMapper {

    int create(Tnew tnew);

    int update(Tnew tnew);

    int delete(@Param("id") int id);

    Tnew selectById(@Param("id") int id);

    List<Tnew> selectByType(@Param("type") int type);

}
